#ifndef IMPRESSIONFACTURE_H
#define IMPRESSIONFACTURE_H

#include <QWidget>
#include <QPrinter>
#include <QPainter>
#include <QPrintDialog>
#include <QFileDialog>
#include <QTextEdit>
#include <QTextStream>
#include "listeeleve.h"

class ImpressionFacture : public QWidget
{
    Q_OBJECT
public:
    enum TypeImpression{Tout, ParJour, ParNoms};
    ImpressionFacture(QWidget *parent = 0);
    ~ImpressionFacture();

    void LancerImpression();
    void ExportPDF();
    void ExportRTF();

private:
    TypeImpression m_typeImpression;
    ListeEleve m_listeEleve;
    int m_mois;

};

#endif // IMPRESSIONFACTURE_H
